/**
 * Have chosen to set bet as a local double as it allows greater consistency and management of 2.5 times better.
 * A lot cleaner than multiplying by 10, then dividing to remove decimal etc.
 */

package cards;

public class Bet {
	int amount;
	
	public Bet() {
		this.amount = 0;
	}
	
	public Bet(int amount) {
		this.amount = amount;
	}
	
	public int getBet() {
		return this.amount;		
	}
	
	public void setBet(int amount) {
		this.amount = amount;		
	}
	
	public int returnStandardBet(int bet) {
		bet = bet * 2;
		return (int) bet;
	}
	
	public int returnBlackjackBet(int bet) {
		bet = bet * 3;
		//double bet = Math.round(amount*2.5);
		return (int) bet;
	}
	
}